Optimal. Leaf size=68 \[ \frac {5 b^{3/2} \tan ^{-1}\left (\frac {\sqrt {b} x}{\sqrt {a}}\right )}{2 a^{7/2}}+\frac {5 b}{2 a^3 x}-\frac {5}{6 a^2 x^3}+\frac {1}{2 a x^3 \left (a+b x^2\right )} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.04, antiderivative size = 68, normalized size of antiderivative = 1.00, number of steps used = 5, number of rules used = 4, integrand size = 24, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.167, Rules used = {28, 290, 325, 205} \[ \frac {5 b^{3/2} \tan ^{-1}\left (\frac {\sqrt {b} x}{\sqrt {a}}\right )}{2 a^{7/2}}+\frac {5 b}{2 a^3 x}-\frac {5}{6 a^2 x^3}+\frac {1}{2 a x^3 \left (a+b x^2\right )} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 28
Rule 205
Rule 290
Rule 325
Rubi steps
\begin {align*} \int \frac {1}{x^4 \left (a^2+2 a b x^2+b^2 x^4\right )} \, dx &=b^2 \int \frac {1}{x^4 \left (a b+b^2 x^2\right )^2} \, dx\\ &=\frac {1}{2 a x^3 \left (a+b x^2\right )}+\frac {(5 b) \int \frac {1}{x^4 \left (a b+b^2 x^2\right )} \, dx}{2 a}\\ &=-\frac {5}{6 a^2 x^3}+\frac {1}{2 a x^3 \left (a+b x^2\right )}-\frac {\left (5 b^2\right ) \int \frac {1}{x^2 \left (a b+b^2 x^2\right )} \, dx}{2 a^2}\\ &=-\frac {5}{6 a^2 x^3}+\frac {5 b}{2 a^3 x}+\frac {1}{2 a x^3 \left (a+b x^2\right )}+\frac {\left (5 b^3\right ) \int \frac {1}{a b+b^2 x^2} \, dx}{2 a^3}\\ &=-\frac {5}{6 a^2 x^3}+\frac {5 b}{2 a^3 x}+\frac {1}{2 a x^3 \left (a+b x^2\right )}+\frac {5 b^{3/2} \tan ^{-1}\left (\frac {\sqrt {b} x}{\sqrt {a}}\right )}{2 a^{7/2}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A] time = 0.04, size = 67, normalized size = 0.99 \[ \frac {5 b^{3/2} \tan ^{-1}\left (\frac {\sqrt {b} x}{\sqrt {a}}\right )}{2 a^{7/2}}+\frac {b^2 x}{2 a^3 \left (a+b x^2\right )}+\frac {2 b}{a^3 x}-\frac {1}{3 a^2 x^3} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 1.00, size = 172, normalized size = 2.53 \[ \left [\frac {30 \, b^{2} x^{4} + 20 \, a b x^{2} + 15 \, {\left (b^{2} x^{5} + a b x^{3}\right )} \sqrt {-\frac {b}{a}} \log \left (\frac {b x^{2} + 2 \, a x \sqrt {-\frac {b}{a}} - a}{b x^{2} + a}\right ) - 4 \, a^{2}}{12 \, {\left (a^{3} b x^{5} + a^{4} x^{3}\right )}}, \frac {15 \, b^{2} x^{4} + 10 \, a b x^{2} + 15 \, {\left (b^{2} x^{5} + a b x^{3}\right )} \sqrt {\frac {b}{a}} \arctan \left (x \sqrt {\frac {b}{a}}\right ) - 2 \, a^{2}}{6 \, {\left (a^{3} b x^{5} + a^{4} x^{3}\right )}}\right ] \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [A] time = 0.15, size = 59, normalized size = 0.87 \[ \frac {5 \, b^{2} \arctan \left (\frac {b x}{\sqrt {a b}}\right )}{2 \, \sqrt {a b} a^{3}} + \frac {b^{2} x}{2 \, {\left (b x^{2} + a\right )} a^{3}} + \frac {6 \, b x^{2} - a}{3 \, a^{3} x^{3}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.01, size = 59, normalized size = 0.87 \[ \frac {b^{2} x}{2 \left (b \,x^{2}+a \right ) a^{3}}+\frac {5 b^{2} \arctan \left (\frac {b x}{\sqrt {a b}}\right )}{2 \sqrt {a b}\, a^{3}}+\frac {2 b}{a^{3} x}-\frac {1}{3 a^{2} x^{3}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [A] time = 3.02, size = 64, normalized size = 0.94 \[ \frac {15 \, b^{2} x^{4} + 10 \, a b x^{2} - 2 \, a^{2}}{6 \, {\left (a^{3} b x^{5} + a^{4} x^{3}\right )}} + \frac {5 \, b^{2} \arctan \left (\frac {b x}{\sqrt {a b}}\right )}{2 \, \sqrt {a b} a^{3}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 4.43, size = 58, normalized size = 0.85 \[ \frac {\frac {5\,b\,x^2}{3\,a^2}-\frac {1}{3\,a}+\frac {5\,b^2\,x^4}{2\,a^3}}{b\,x^5+a\,x^3}+\frac {5\,b^{3/2}\,\mathrm {atan}\left (\frac {\sqrt {b}\,x}{\sqrt {a}}\right )}{2\,a^{7/2}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [A] time = 0.36, size = 114, normalized size = 1.68 \[ - \frac {5 \sqrt {- \frac {b^{3}}{a^{7}}} \log {\left (- \frac {a^{4} \sqrt {- \frac {b^{3}}{a^{7}}}}{b^{2}} + x \right )}}{4} + \frac {5 \sqrt {- \frac {b^{3}}{a^{7}}} \log {\left (\frac {a^{4} \sqrt {- \frac {b^{3}}{a^{7}}}}{b^{2}} + x \right )}}{4} + \frac {- 2 a^{2} + 10 a b x^{2} + 15 b^{2} x^{4}}{6 a^{4} x^{3} + 6 a^{3} b x^{5}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________